package cn.liuhuan1.mongoDb.mongoUtile;

import org.bson.types.ObjectId;

/**
 * @Auther: liuhuan
 * @Date: 2021/4/27 - 04 - 27 - 19:57
 * @Description:
 * @version: 1.0
 */
public final class MongoUtile {


    public static String getObjectId(String str){
        return new ObjectId(str).toHexString();
    }
}
